package com.example.cognitivesystemserver.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

@RestController
public class TeacherController {
    //添加教师信息
    @PostMapping("/teacher/addTeacher")
    public Object addTeacher(HttpServletRequest req) {
        return null;
    }

    //删除教师信息
    @PostMapping("/teacher/deleteTeacher")
    public Object deleteTeacher(HttpServletRequest req) {
        return null;
    }

    //修改教师信息
    @PostMapping("/teacher/UpdateTeacher")
    public Object updateTeacher(HttpServletRequest req) {
        return null;
    }

    //查询某个教师信息
    @GetMapping("/teacher/getTeacher")
    public Object getTeacher(HttpServletRequest req) {
        return null;
    }

    //查询全部教师信息
    @GetMapping("/teacher/getAllTeacher")
    public Object getAllTeacher() {
        return null;
    }
}
